

Project 'VGG16_1FC.Exp05.AonA.10p.unmasked.fold_3':
[1] "Model type 'VGG16_1FC' sucessfully initialized:"
$model
Model
Model: "sequential"
____________________________________________________________________________________________________________________________________________________________________
Layer (type)                                                             Output Shape                                                      Param #                  
====================================================================================================================================================================
vgg16 (Model)                                                            (None, 7, 7, 512)                                                 14714688                 
____________________________________________________________________________________________________________________________________________________________________
flatten (Flatten)                                                        (None, 25088)                                                     0                        
____________________________________________________________________________________________________________________________________________________________________
fc1 (Dense)                                                              (None, 256)                                                       6422784                  
____________________________________________________________________________________________________________________________________________________________________
Predictions (Dense)                                                      (None, 10)                                                        2570                     
====================================================================================================================================================================
Total params: 21,140,042
Trainable params: 6,425,354
Non-trainable params: 14,714,688
____________________________________________________________________________________________________________________________________________________________________



$classes
                                     name id
1                Asteromphalus.labId_6835  0
2                  Chaetoceros.labId_6813  1
3  Fragilariopsis kerguelensis.labId_8356  2
4      Fragilariopsis rhombica.labId_8362  3
5                    Nitzschia.labId_6758  4
6              Pseudonitzschia.labId_8364  5
7                 Rhizosolenia.labId_6776  6
8            Silicoflagellate.labId_10255  7
9      Thalassiosira gracilis.labId_10366  8
10  Thalassiosira lentiginosa.labId_10369  9

$inputShape
[1] 224 224

$optimizer
<tensorflow.python.keras.optimizers.Adam>

$callbacksList
list()

Data:
Classes: 10

Training: 81 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
2        0               Asteromphalus.labId_6835     4           4           0
4        1                 Chaetoceros.labId_6813     4           4           0
1        2 Fragilariopsis kerguelensis.labId_8356    25          25           0
7        3     Fragilariopsis rhombica.labId_8362     4           4           0
8        4                   Nitzschia.labId_6758     4           4           0
3        5             Pseudonitzschia.labId_8364    10          10           0
5        6                Rhizosolenia.labId_6776     9           9           0
10       7           Silicoflagellate.labId_10255    11          11           0
9        8     Thalassiosira gracilis.labId_10366     5           5           0
6        9  Thalassiosira lentiginosa.labId_10369     5           5           0
11      NA                                    Sum    81          81           0

Validation: 26 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
8        0               Asteromphalus.labId_6835     1           1           0
7        1                 Chaetoceros.labId_6813     2           2           0
3        2 Fragilariopsis kerguelensis.labId_8356     7           7           0
9        3     Fragilariopsis rhombica.labId_8362     1           1           0
6        4                   Nitzschia.labId_6758     2           2           0
5        5             Pseudonitzschia.labId_8364     3           3           0
10       6                Rhizosolenia.labId_6776     3           3           0
4        7           Silicoflagellate.labId_10255     3           3           0
1        8     Thalassiosira gracilis.labId_10366     2           2           0
2        9  Thalassiosira lentiginosa.labId_10369     2           2           0
11      NA                                    Sum    26          26           0

Test: 31 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
8        0               Asteromphalus.labId_6835     1           1           0
5        1                 Chaetoceros.labId_6813     2           2           0
2        2 Fragilariopsis kerguelensis.labId_8356    10          10           0
10       3     Fragilariopsis rhombica.labId_8362     1           1           0
7        4                   Nitzschia.labId_6758     2           2           0
1        5             Pseudonitzschia.labId_8364     4           4           0
4        6                Rhizosolenia.labId_6776     3           3           0
3        7           Silicoflagellate.labId_10255     4           4           0
6        8     Thalassiosira gracilis.labId_10366     2           2           0
9        9  Thalassiosira lentiginosa.labId_10369     2           2           0
11      NA                                    Sum    31          31           0

Compiling Model:

Starting Training:
Epochs: 50
Batch size: 8


Evaluating trained model for project 'VGG16_1FC.Exp05.AonA.10p.unmasked.fold_3':


Model evaluation:
$confusionMatrix
Confusion Matrix and Statistics

          Reference
Prediction 0 1 2 3 4 5 6 7 8 9
         0 1 0 0 0 0 0 0 0 0 0
         1 0 2 0 0 0 0 0 0 0 0
         2 0 0 9 0 1 0 0 0 0 0
         3 0 0 1 0 0 0 0 0 0 0
         4 0 0 0 0 0 0 0 0 0 0
         5 0 0 0 0 1 4 0 0 0 0
         6 0 0 0 0 0 0 3 0 0 0
         7 0 0 0 0 0 0 0 4 0 0
         8 0 0 0 0 0 0 0 0 2 0
         9 0 0 0 1 0 0 0 0 0 2

Overall Statistics
                                          
               Accuracy : 0.871           
                 95% CI : (0.7017, 0.9637)
    No Information Rate : 0.3226          
    P-Value [Acc > NIR] : 3.841e-10       
                                          
                  Kappa : 0.845           
                                          
 Mcnemar's Test P-Value : NA              

Statistics by Class:

                     Class: 0 Class: 1 Class: 2 Class: 3 Class: 4 Class: 5 Class: 6 Class: 7 Class: 8 Class: 9
Precision             1.00000  1.00000   0.9000  0.00000       NA   0.8000  1.00000    1.000  1.00000  0.66667
Recall                1.00000  1.00000   0.9000  0.00000  0.00000   1.0000  1.00000    1.000  1.00000  1.00000
F1                    1.00000  1.00000   0.9000      NaN       NA   0.8889  1.00000    1.000  1.00000  0.80000
Prevalence            0.03226  0.06452   0.3226  0.03226  0.06452   0.1290  0.09677    0.129  0.06452  0.06452
Detection Rate        0.03226  0.06452   0.2903  0.00000  0.00000   0.1290  0.09677    0.129  0.06452  0.06452
Detection Prevalence  0.03226  0.06452   0.3226  0.03226  0.00000   0.1613  0.09677    0.129  0.06452  0.09677
Balanced Accuracy     1.00000  1.00000   0.9262  0.48333  0.50000   0.9815  1.00000    1.000  1.00000  0.98276

$statistics
   class                              className TP FP FN precision recall        F1
1      0               Asteromphalus.labId_6835  1  0  0 1.0000000    1.0 1.0000000
2      1                 Chaetoceros.labId_6813  2  0  0 1.0000000    1.0 1.0000000
3      2 Fragilariopsis kerguelensis.labId_8356  9  1  1 0.9000000    0.9 0.9000000
4      3     Fragilariopsis rhombica.labId_8362  0  1  1 0.0000000    0.0 0.0000000
5      4                   Nitzschia.labId_6758  0  0  2 0.0000000    0.0 0.0000000
6      5             Pseudonitzschia.labId_8364  4  1  0 0.8000000    1.0 0.8888889
7      6                Rhizosolenia.labId_6776  3  0  0 1.0000000    1.0 1.0000000
8      7           Silicoflagellate.labId_10255  4  0  0 1.0000000    1.0 1.0000000
9      8     Thalassiosira gracilis.labId_10366  2  0  0 1.0000000    1.0 1.0000000
10     9  Thalassiosira lentiginosa.labId_10369  2  1  0 0.6666667    1.0 0.8000000

$macro
$macro$precision
[1] 0.7366667

$macro$recall
[1] 0.79

$macro$F1
[1] 0.7588889

$macro$F1.Sokolova_Lapalme
[1] 0.7624017


$micro
$micro$precision
[1] 0.8709677

$micro$recall
[1] 0.8709677

$micro$F1
[1] 0.8709677


